package com.jjb.common.view.model;


import java.awt.*;
import java.util.List;

public class Table {

    public List<TableRow> tableRows;

    /**
     * 表格的最少行高
     */
    private int minLineHeight;



    /**
     * 行间距
     */
    private int rowSpacing = 10;

    /**
     * 字体间隔
     */
    private int space =  1;

    private Color headColor = Color.BLACK;

    private Font headFont = new Font("微软雅黑", Font.PLAIN,  25);

    public int getMinLineHeight() {
        return minLineHeight;
    }

    public void setMinLineHeight(int minLineHeight) {
        this.minLineHeight = minLineHeight;
    }

    public List<TableRow> getTableRows() {
        return tableRows;
    }

    public void setTableRows(List<TableRow> tableRows) {
        this.tableRows = tableRows;
    }

    public int getRowSpacing() {
        return rowSpacing;
    }

    public void setRowSpacing(int rowSpacing) {
        this.rowSpacing = rowSpacing;
    }

    public Color getHeadColor() {
        return headColor;
    }

    public void setHeadColor(Color headColor) {
        this.headColor = headColor;
    }

    public Font getHeadFont() {
        return headFont;
    }

    public void setHeadFont(Font headFont) {
        this.headFont = headFont;
    }

    public int getSpace() {
        return space;
    }

    public void setSpace(int space) {
        this.space = space;
    }
}
